package com.template.templateuser.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "SysUserDTO", description = "用户")
public class SysUserDTO implements Serializable {

    private  Long id;
    @ApiModelProperty("部门ID")
    private  Long deptId;
    @ApiModelProperty("登录账号")
    private  String loginName;
    @ApiModelProperty("用户昵称")
    private  String userName ;
    @ApiModelProperty("用户类型（0系统用户 1注册用户）")
    private  Integer userType ;
    @ApiModelProperty("用户邮箱")
    private  String   email ;
    @ApiModelProperty("手机号码")
    private  String   phonenumber ;
    @ApiModelProperty("用户性别（0男 1女 2未知）")
    private  Integer  sex ;
    @ApiModelProperty("头像路径")
    private  String   avatar;
    @ApiModelProperty("密码")
    private  String   password ;
    @ApiModelProperty("盐加密")
    private  String   salt ;
    @ApiModelProperty("帐号状态（0正常 1停用）")
    private  Integer  status ;
    private  Integer delFlag;
    @ApiModelProperty("最后登陆IP")
    private  String  loginIp;
    @ApiModelProperty("最后登陆时间")
    private LocalDateTime   loginDate;
    private  Long   createId ;
    private LocalDateTime createTime ;
    private LocalDateTime   updateTime ;
    private  String   remark ;
    private Integer deleted;

}
